package com.eurobcoin.worker;

import java.io.Serializable;
import java.util.Date;

public class MailWorkerStatusModel implements Serializable {

	private static final long serialVersionUID = -1825744787816941321L;

	private Date runDate;
	
	private Date nextRun;
	
	private boolean error;
	
	private int emailsSent;

	public Date getRunDate() {
		return runDate;
	}

	public void setRunDate(Date runDate) {
		this.runDate = runDate;
	}

	public Date getNextRun() {
		return nextRun;
	}

	public void setNextRun(Date nextRun) {
		this.nextRun = nextRun;
	}

	public boolean isError() {
		return error;
	}

	public void setError(boolean error) {
		this.error = error;
	}

	public int getEmailsSent() {
		return emailsSent;
	}

	public void setEmailsSent(int emailsSent) {
		this.emailsSent = emailsSent;
	}
	
}
